Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

utils-merge

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utils-merge

merge() utility function

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is utils-merge?

The utils-merge package is a simple utility to merge objects in JavaScript. It is often used to combine configurations or settings objects where a base object is extended with properties from another object.

What are utils-merge's main functionalities?

Merging objects

This feature allows you to merge the properties of one object into another. The properties from the second object will overwrite those in the first if they have the same key.

{"const merge = require('utils-merge');
const a = { foo: 'bar' };
const b = { baz: 'qux' };
const c = merge(a, b);
console.log(c); // Output: { foo: 'bar', baz: 'qux' }"}

Other packages similar to utils-merge

Keywords

FAQs

Package last updated on 20 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc